home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 25
/
Aminet 25 (1998)(GTI - Schatztruhe)[!][Jun 1998].iso
/
Aminet
/
dev
/
misc
/
vahunz.lha
/
vahunz
/
example
/
older.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS
UTF-8
Wrap
C/C++ Source or Header
|
1998-02-09
|
367 b
|
20 lines
/*
* older.c - functions to let a person grow older
*/
#include <stdio.h>
/* This will include the prototypes, so they will be validated.
* The program would also compile without this include, but it
* is good style to have it here. */
#include "older.h"
void grow_older(char *name, int *age)
{
printf("%s grows older.\n", name);
*age = *age + 1;
}